package com.service.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @Author：刘文举
 * @DateTime： 2024/4/10 20:25
 * @PackageName: com.service.user.service
 * @ClassName: financiaFeignService
 */
@FeignClient(name = "service-financial",path = "airui/api/financial")
public interface FinanciaFeignService {


    @GetMapping("/getFinancia")
    public BigDecimal getFinancia(@RequestParam("token") String token);
}
